package com.yida.gwj.report.domain;

import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 年增值收益对象 gwj_report_year_benifit
 *
 * @author ruoyi
 * @date 2023-03-08
 */
@ApiModel("年增值收益")
public class GwjReportYearBenifit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty("id")
    private Long benefitId;

    /**
     * 年份
     */
    @ApiModelProperty("年份")
    private String year;

    /**
     * 当年增值收益
     */
    @ApiModelProperty("当年增值收益")
    private BigDecimal benefit;

    /**
     * 确认状态 0未确认 1已确认
     */
    @ApiModelProperty("确认状态 0未确认 1已确认")
    private String status;

    /**
     * 确认时间
     */
    @ApiModelProperty("确认时间")
    private Date confirmTime;

    /**
     * 删除标识 0否 1是
     */
    @ApiModelProperty("删除标识 0否 1是")
    private String delFlag;

    public void setBenefitId(Long benefitId) {
        this.benefitId = benefitId;
    }

    public Long getBenefitId() {
        return benefitId;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getYear() {
        return year;
    }

    public void setBenefit(BigDecimal benefit) {
        this.benefit = benefit;
    }

    public BigDecimal getBenefit() {
        return benefit;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("benefitId", getBenefitId()).append("year", getYear()).append("benefit", getBenefit()).append("status", getStatus()).append("confirmTime", getConfirmTime()).append("createTime", getCreateTime()).append("createBy", getCreateBy()).append("updateTime", getUpdateTime()).append("updateBy", getUpdateBy()).append("remark", getRemark()).append("delFlag", getDelFlag()).toString();
    }
}
